<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>

    <div id="app">
        <!-- 
            v-html: 更新元素的innnerHTML
            
        -->
        <div v-html="msg"></div>
    </div>

    <script src="./js/vue.js"></script>
    <script>
        const app = new Vue({
            el: '#app',
            data: {
                msg: '<a href="http://www.baidu.com">去百度</a>',
                count: 100
            }
        })
    </script>

</body>

</html>